package com.iris.live.services.data.repositories;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;

import com.iris.live.services.data.models.销售顾问头像Model;
public interface 销售顾问头像Repository extends JpaRepository<销售顾问头像Model, String>, JpaSpecificationExecutor<销售顾问头像Model>{
	@Modifying
	@Query("delete from 销售顾问头像Model u where u.销售顾问用户名=?1")
	void delSaleCOnsultantHeadPhoto(String username);

}
